package com.ruoyi.teacher.domain;

import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 章节对象 t_chapter
 *
 * @author ruoyi
 * @date 2024-12-03
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class TChapter extends BaseEntity {

    /**
     * id
     */
    private Long id;

    /**
     * 题库ID
     */
    @Excel(name = "题库ID")
    private Long bId;

    /**
     * 章节名
     */
    @Excel(name = "章节名")
    private String name;

    /**
     * 单选题数量
     */
    @Excel(name = "单选题数量")
    private Long radioNum;

    /**
     * 多选题数量
     */
    @Excel(name = "多选题数量")
    private Long checkNum;

    /**
     * 判断题数量
     */
    @Excel(name = "判断题数量")
    private Long judgmentNum;

    /**
     * 填空题数量
     */
    @Excel(name = "填空题数量")
    private Long blankNum;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Long order;

    /**
     * 简答题数量
     */
    @Excel(name = "简答题数量")
    private Long shortAnswerNum;

    /**
     * 逻辑删除
     */
    @TableField(fill = FieldFill.INSERT)
    private Long deleteStatus;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

}
